package com.eastcom.providor.dao;

import java.util.List;

import com.eastcom.bm.atom.Atom_KpiDefine;

public interface IKpiDefineDao {

	public List<Atom_KpiDefine> getAllKpiDefine()throws Exception;
	
	public List<Atom_KpiDefine> selectKpiDefinesByDatasetID(String datasetID);
	
	public Atom_KpiDefine findKpiDefineByDataSetIdAndKpiId(String datasetID,String kpiId) throws Exception;
	
	public void saveKpiDefines(List<Atom_KpiDefine> kpiDefines) throws Exception;
	
	public void updateKpiDefine(Atom_KpiDefine kpiDefine) throws Exception;
	
	public void updateKpiDefinebyDataSetId(String dataSetId,Atom_KpiDefine kpiDefine) throws Exception ;
	
	public void updateKpiDefines(String dataSetId,List<Atom_KpiDefine> kpiDefines) throws Exception;
	
	public void delKpiDefineByDatasetID(String datasetID) throws Exception;
	
	public void delKpiDefineByIds(List<String> IDs) throws Exception;
	
}
